﻿using System;

namespace Hongsh.Pay.Client.Proxy.Http {
    // Token: 0x0200002E RID: 46
    public abstract class HttpContentResult : HttpResult {
        // Token: 0x17000092 RID: 146
        // (get) Token: 0x06000160 RID: 352 RVA: 0x00002F37 File Offset: 0x00001137
        // (set) Token: 0x06000161 RID: 353 RVA: 0x00002F3F File Offset: 0x0000113F
        public string ContentType { get; set; }

        // Token: 0x06000162 RID: 354 RVA: 0x00002F48 File Offset: 0x00001148
        public HttpContentResult(string content_type) {
            //Class15.cwcZ3SWztHroi();
            //base..ctor();
            ContentType = content_type;
        }

        // Token: 0x06000163 RID: 355 RVA: 0x00002F5C File Offset: 0x0000115C
        public override void WriteReponse(HttpContext ctx) {
            base.WriteReponse(ctx);
            ctx.Response.ContentType = ContentType;
        }
    }
}
